﻿namespace Core.CSV {
    public class TBWeaponsInterface : TBBaseInterface, IFileReader {
        public string FileName {
            get { return "Weapons.csv"; }
        }
        public override void AddData(params object[] p) {
            mDic.Add((uint)p[0], new TBWeaponsConfig(p));
        }
    }
    public class TBWeaponsConfig : TBBaseConfig {
        public TBWeaponsConfig(params object[] p) {
            ID = (uint)p[0];
            Name = (string)p[1];
            PrefabPath = (string)p[2];
            EffectCapacity = (int)p[3];
            SkillEffectCapacity = (int)p[4];
        }
        public uint ID;
        public string Name;
        public string PrefabPath;
        public int EffectCapacity;
        public int SkillEffectCapacity;
    }
}